<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\9\27 0027
 * Time: 9:37
 */

namespace app\Lib\Api;


class Common
{
    //protected $apiName="";
    public $apiVersion="1.0";
    private $apiParas = array();
    private $result;

    public function __construct()
    {
    }

    public function setArgs($key,$value){

        $this->apiParas[$key]=$value;
    }
    public function getValues(){
        return get_object_vars($this);
    }
    public function getApiName()
    {
        return $this->apiName;
    }

    public function getResult()
    {
        return $this->result;
    }

    public function setResult($result)
    {
        $this->result = $result;
    }

    public function check()
    {

    }
    public function getApiParas()
    {
        return $this->apiParas;
    }

    public function setAllArgs($apiParas=array())
    {
        $this->apiParas=$apiParas;
    }

}